/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_enter_reimbursement.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tb_enter_reimbursement.entity.TbEnterReimbursement;
import com.thinkgem.jeesite.modules.tb_enter_reimbursement.dao.TbEnterReimbursementDao;

/**
 * 回车报账Service
 * @author ZhaoHai
 * @version 2017-07-10
 */
@Service
@Transactional(readOnly = true)
public class TbEnterReimbursementService extends CrudService<TbEnterReimbursementDao, TbEnterReimbursement> {

	public TbEnterReimbursement get(String id) {
		return super.get(id);
	}
	
	public List<TbEnterReimbursement> findList(TbEnterReimbursement tbEnterReimbursement) {
		return super.findList(tbEnterReimbursement);
	}
	
	public Page<TbEnterReimbursement> findPage(Page<TbEnterReimbursement> page, TbEnterReimbursement tbEnterReimbursement) {
		return super.findPage(page, tbEnterReimbursement);
	}
	
	@Transactional(readOnly = false)
	public void save(TbEnterReimbursement tbEnterReimbursement) {
		super.save(tbEnterReimbursement);
	}
	
	@Transactional(readOnly = false)
	public void delete(TbEnterReimbursement tbEnterReimbursement) {
		super.delete(tbEnterReimbursement);
	}
	public TbEnterReimbursement showbywaybailId(String waybailId){
		TbEnterReimbursement tbEnterReimbursement=dao.showbywaybailId(waybailId);
		return tbEnterReimbursement;
	}
}